home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2003 November A / PCWK1103A.iso / Adobe After Effects 6.0 tryout / MM5.Cab / F3701_ReduceOpenGLTextureSize.jsx.304FA6F7_2783_11D4_8520_00C04F602FD3 < prev    next >
Text File  |  2003-07-18  |  805b  |  12 lines

  1. // Place this file in After Effects/Scripts/Startup folder if your graphics card is an older model
  2. // that can't handle large textures (symptoms include video noise or poor performance while
  3. // dragging layers with OpenGL enabled). This script limits the size of textures to 512 x 512 pixels.
  4. // If this script has not been enabled, the default limit is 800 x 800. Note that enabling this script
  5. // sets the new limit in your preferences file, so re-disabling the script will not have an
  6. // effect unless you also delete your preferences file.
  7.  
  8. // You can try even smaller values if 512 doesn't work (e.g. 256), or
  9. // larger values if you have a card that can handle it (use at your own risk).
  10.  
  11. app.preferences.savePrefAsLong("OpenGL 3D", "Auto Downsample Textures Larger Than (pixels)", 512);
  12.